package cqupt.spark_log.entity;

public class Executor {
	private String hostPort;
	private String executorId;
	private String cores;
	private String ram;
	
	public Executor(String executorId, String hostPort, String cores, String ram) {
		this.executorId = executorId;
		this.hostPort = hostPort;
		this.cores = cores;
		this.ram = ram;
	}
	public String getHostPort() {
		return hostPort;
	}
	public void setHostPort(String hostPort) {
		this.hostPort = hostPort;
	}
	public String getExecutorId() {
		return executorId;
	}
	public void setExecutorId(String executorId) {
		this.executorId = executorId;
	}
	public String getCores() {
		return cores;
	}
	public void setCores(String cores) {
		this.cores = cores;
	}
	public String getRam() {
		return ram;
	}
	public void setRam(String ram) {
		this.ram = ram;
	}
	@Override
	public String toString() {
		return "Executor [hostPort=" + hostPort + ", executorId=" + executorId + ", cores=" + cores + ", ram=" + ram
				+ "]";
	}
	
}
